package com.itheima.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class Bounty {

    private  Integer id;
    private String title; //任务标题
    private String description; //任务详情
    private double reward;//悬赏金额
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate deadline;//任务截至时间
    private String type;//任务类型
    private String level;//任务等级 S A B C D E

    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;

}
